/**
 * Created by LUJIAN on 2016/4/12.
 */

const PATHS = require('./config').PATHS;
const path = require('path');

module.exports = {
  entry: {
    app: path.join(PATHS.app, 'main.js')
  },
  output: {
    path: PATHS.build,
    filename: '[name].js'
  },
  module: {
    loaders: [
      {
        test:/\.less$/,
        loaders: ['style', 'css', 'less'],
        include: path.join(PATHS.app, 'assets', 'stylesheet')
      }
    ]
  }
};
